package com.joplus.housekeeper.bean;

/**
 * Created by zisheng on 2017/8/17.
 */

public class LotteryDraw {


    /**
     * code : 2000
     * data : {"isWinning":true,"award":{"isRecommend":true,"isBanner":true,"inventory":4986,"isNeedAddress":true,"priority":100,"type":"1","picture":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/2017-07-31/2017073112170700803252.png?1502969375000","productName":"小南鸡","sid":"s1","referencePrice":23.8,"price":13.8,"pictureKey":"2017-07-31/2017073112170700803252.png","integration":2,"attention":"注意这是一只小南鸡","createdDatetime":1502709536000,"introduction":"这是小南鸡的介绍","isHot":true,"updatedDatetime":1502969375000,"status":true},"winningMessage":"中奖啦"}
     * message :
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * isWinning : true
         * award : {"isRecommend":true,"isBanner":true,"inventory":4986,"isNeedAddress":true,"priority":100,"type":"1","picture":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/2017-07-31/2017073112170700803252.png?1502969375000","productName":"小南鸡","sid":"s1","referencePrice":23.8,"price":13.8,"pictureKey":"2017-07-31/2017073112170700803252.png","integration":2,"attention":"注意这是一只小南鸡","createdDatetime":1502709536000,"introduction":"这是小南鸡的介绍","isHot":true,"updatedDatetime":1502969375000,"status":true}
         * winningMessage : 中奖啦
         */

        private boolean isWinning;
        private AwardBean award;
        private String winningMessage;
        private double integration;

        public double getIntegration() {
            return integration;
        }

        public void setIntegration(double integration) {
            this.integration = integration;
        }

        public boolean isIsWinning() {
            return isWinning;
        }

        public void setIsWinning(boolean isWinning) {
            this.isWinning = isWinning;
        }

        public AwardBean getAward() {
            return award;
        }

        public void setAward(AwardBean award) {
            this.award = award;
        }

        public String getWinningMessage() {
            return winningMessage;
        }

        public void setWinningMessage(String winningMessage) {
            this.winningMessage = winningMessage;
        }

        public static class AwardBean {
            /**
             * isRecommend : true
             * isBanner : true
             * inventory : 4986
             * isNeedAddress : true
             * priority : 100
             * type : 1
             * picture : http://joplus-images.oss-cn-shanghai.aliyuncs.com/2017-07-31/2017073112170700803252.png?1502969375000
             * productName : 小南鸡
             * sid : s1
             * referencePrice : 23.8
             * price : 13.8
             * pictureKey : 2017-07-31/2017073112170700803252.png
             * integration : 2
             * attention : 注意这是一只小南鸡
             * createdDatetime : 1502709536000
             * introduction : 这是小南鸡的介绍
             * isHot : true
             * updatedDatetime : 1502969375000
             * status : true
             */

            private boolean isRecommend;
            private boolean isBanner;
            private String inventory;
            private boolean isNeedAddress;
            private String priority;
            private String type;
            private String picture;
            private String productName;
            private String sid;
            private String awardSid;
            private String referencePrice;
            private String price;
            private String pictureKey;
            private String integration;
            private String attention;
            private long createdDatetime;
            private String introduction;
            private boolean isHot;
            private long updatedDatetime;
            private boolean status;
            private String integrationExchangeRecordSid;

            public String getIntegrationExchangeRecordSid() {
                return integrationExchangeRecordSid;
            }

            public void setIntegrationExchangeRecordSid(String integrationExchangeRecordSid) {
                this.integrationExchangeRecordSid = integrationExchangeRecordSid;
            }

            public boolean isIsRecommend() {
                return isRecommend;
            }

            public String getAwardSid() {
                return awardSid;
            }

            public void setAwardSid(String awardSid) {
                this.awardSid = awardSid;
            }

            public void setIsRecommend(boolean isRecommend) {
                this.isRecommend = isRecommend;
            }

            public boolean isIsBanner() {
                return isBanner;
            }

            public void setIsBanner(boolean isBanner) {
                this.isBanner = isBanner;
            }

            public String getInventory() {
                return inventory;
            }

            public void setInventory(String inventory) {
                this.inventory = inventory;
            }

            public boolean isIsNeedAddress() {
                return isNeedAddress;
            }

            public void setIsNeedAddress(boolean isNeedAddress) {
                this.isNeedAddress = isNeedAddress;
            }

            public String getPriority() {
                return priority;
            }

            public void setPriority(String priority) {
                this.priority = priority;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public String getReferencePrice() {
                return referencePrice;
            }

            public void setReferencePrice(String referencePrice) {
                this.referencePrice = referencePrice;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getPictureKey() {
                return pictureKey;
            }

            public void setPictureKey(String pictureKey) {
                this.pictureKey = pictureKey;
            }

            public String getIntegration() {
                return integration;
            }

            public void setIntegration(String integration) {
                this.integration = integration;
            }

            public String getAttention() {
                return attention;
            }

            public void setAttention(String attention) {
                this.attention = attention;
            }

            public long getCreatedDatetime() {
                return createdDatetime;
            }

            public void setCreatedDatetime(long createdDatetime) {
                this.createdDatetime = createdDatetime;
            }

            public String getIntroduction() {
                return introduction;
            }

            public void setIntroduction(String introduction) {
                this.introduction = introduction;
            }

            public boolean isIsHot() {
                return isHot;
            }

            public void setIsHot(boolean isHot) {
                this.isHot = isHot;
            }

            public long getUpdatedDatetime() {
                return updatedDatetime;
            }

            public void setUpdatedDatetime(long updatedDatetime) {
                this.updatedDatetime = updatedDatetime;
            }

            public boolean isStatus() {
                return status;
            }

            public void setStatus(boolean status) {
                this.status = status;
            }
        }
    }
}
